package com.mysteel.cyx.ddd.domain.enums;

/**
 * 业务异常枚举
 * @Author：cyx
 * @Date：2024/4/26 17:09
 */
public enum BusinessErrorCode {


    ;
    private final int code;
    private final String msg;

    BusinessErrorCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
